// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';

export const getQuartzListData = (params) => {
    return getRequest('/quartzJob/getAllByPage', params)
}

export const addQuartz = (params) => {
    return postRequest('/quartzJob/add', params)
}

export const editQuartz = (params) => {
    return postRequest('/quartzJob/edit', params)
}

export const pauseQuartz = (params) => {
    return postRequest('/quartzJob/pause', params)
}

export const resumeQuartz = (params) => {
    return postRequest('/quartzJob/resume', params)
}

export const deleteQuartz = (params) => {
    return postRequest('/quartzJob/delByIds', params)
}
